home *** CD-ROM | disk | FTP | other *** search
/ Netware Super Library / Netware Super Library.iso / mis_util / addcrlf / acrlf.doc < prev    next >
Encoding:
Text File  |  1990-01-23  |  1.8 KB  |  55 lines

  1. ACRLF ==> Add Carriage Return Line Feed
  2.  
  3. Copyright (c) 1990, Glenn M. Belton, All Rights Reserved
  4.  
  5. Address Comments and PAYMENT To (see COST below):
  6.  
  7.                         Glenn M. Belton
  8.                         13591 Rush Drive
  9.                         Woodbridge, VA  22192
  10.                         (703) 670-5535
  11.  
  12.  
  13. Usage: ACRLF Input_file Output_file Record_size [Start record] [Record quantity]
  14.  
  15. Purpose:  Modify database files where records are streamed begining to end
  16.           without terminators.
  17.  
  18. Function: Breaks file into indicated record size and
  19.           appends a CR LF (HEX 0D 0A) sequence to the end of each record.
  20.  
  21.           Optional parameters; start record and record quantity allow groups
  22.           of records to be copied to the output file.
  23.  
  24. NOTE:     Input file is opened in READ ONLY MODE and
  25.           the Output file will NOT be overwritten.
  26.  
  27. COST:     If it's used in a business sense (i.e. if money is made off usage
  28.           in any way, shape or form), the cost is $20.00 US.
  29.           Otherwise, its free of usage charge.  Source code cannot be sold for
  30.           any reason or incorporated in anything that is for sale.
  31.  
  32. Examples:
  33.  
  34.         Suppose you have a file containing X quantity of records.
  35.  
  36.         Using a file view utility you determine that the record size is
  37.         79 characters or bytes.
  38.  
  39.                 to extract all records:
  40.  
  41.                         acrlf file outputfile 79
  42.  
  43.                 to extract the first 10 records:
  44.  
  45.                         acrlf file outputfile 79 1 10
  46.  
  47.                 to extract 10 records starting with the 11 record:
  48.  
  49.                         acrlf file outputfile 79 11 10
  50.  
  51.                 to extract the remaining records starting with the 22 record:
  52.  
  53.                         acrlf file outputfile 79 22
  54.  
  55.